projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
088baae
)
Don't include gdkwin32.h when testing Objective-C++
author
Tor Lillqvist
<tml@iki.fi>
Fri, 9 Oct 2009 11:32:11 +0000
(14:32 +0300)
committer
Tor Lillqvist
<tml@iki.fi>
Fri, 9 Oct 2009 11:35:49 +0000
(14:35 +0300)
Fixes bug #594644. If somebody actually some day needs to include
gdkwin32.h from an Objective-C++ program something needs to be done.
tests/autotestkeywords.cc
patch
|
blob
|
history
diff --git
a/tests/autotestkeywords.cc
b/tests/autotestkeywords.cc
index 73f20c3e1b2a4c88713799c340e94ebf8fb16292..28b1d24bacbcace7bb936b84de2a74add2d59dbc 100644
(file)
--- a/
tests/autotestkeywords.cc
+++ b/
tests/autotestkeywords.cc
@@
-18,6
+18,7
@@
#endif
#endif
+#ifndef __OBJC__
#ifdef GDK_WINDOWING_WIN32
#define gdk_display gdk_display_win32
#include <gdk/win32/gdkwin32.h>
@@
-25,6
+26,7
@@
#undef GDK_DISPLAY
#undef GDK_ROOT_WINDOW
#endif
+#endif
#ifdef GDK_WINDOWING_X11
#define gdk_display gdk_display_x11